package com.jeesite.modules.dataScreen.service;

import com.jeesite.modules.dataScreen.dao.OfficeDataScreenDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class OfficeDataScreenService {

    @Resource
    private OfficeDataScreenDao officeDataScreenDao;

    public List<Map<String, String>> getStartProjectMileageData() {
        return officeDataScreenDao.getStartProjectMileageData();
    }

    public List<Map<String, String>> getOpenProjectMileageData() {
        return officeDataScreenDao.getOpenProjectMileageData();
    }

    public List<Map<String, String>> getConstructionMileageData() {
        return officeDataScreenDao.getConstructionMileageData();
    }

    public Map<String, Object> getHighwayEntranceFlowData() {
        return officeDataScreenDao.getHighwayEntranceFlowData();
    }

    public Map<String, Object> getHighwayExitFlowData() {
        return officeDataScreenDao.getHighwayExitFlowData();
    }

    public Map<String, Object> getRoadNetworkData() {
        return officeDataScreenDao.getRoadNetworkData();
    }

    public List<Map<String, Object>> getOperatingMileageData() {
        return officeDataScreenDao.getOperatingMileageData();
    }

    public List<Map<String, Object>> getPlanInvestmentScaleData(String year) {
        return officeDataScreenDao.getPlanInvestmentScaleData(year);
    }

    public List<Map<String, Object>> getAccumulInvestmentScaleData(String year) {
        return officeDataScreenDao.getAccumulInvestmentScaleDazta(year);
    }

    public List<Map<String, Object>> getEmergenciesData() {
        return officeDataScreenDao.getEmergenciesData();
    }

    public Map<String, Object> getTrafficIndexData() {
        return officeDataScreenDao.getTrafficIndexData();
    }

    public List<Map<String, Object>> getDryRegulatoryData() {
        return officeDataScreenDao.getDryRegulatoryData();
    }

    public List<Map<String, Object>> getDrgRegulatoryData() {
        return officeDataScreenDao.getDrgRegulatoryData();
    }

    public List<Map<String, String>> getDataScreen() {
        return officeDataScreenDao.getOfficeDataScreen();
    }

    public Map<String, Object> getTransportationScale(String name, String column, String unit) {
        return officeDataScreenDao.getTransportationScale(name, column, unit);
    }

    public List<Map<String, Object>> getFeeBasedBusData() {
        return officeDataScreenDao.getFeeBasedBusData();
    }

    public List<Map<String, String>> getHighWayTollRankTopData(String order) {
        return officeDataScreenDao.getHighWayTollRankTopData(order);
    }

    public Integer getWaterTransportData(String column) {
        return officeDataScreenDao.getWaterTransportData(column);
    }
}
